| GUI Help > General > setGadgetTimer | ||||||||||||||
|
setGadgetTimer |
||||||||||||||
| setGadgetTimer handle gadget, int milliseconds | ||||||||||||||
|
Description: Adds a timer to a gadget. A timer sends a GADGET_TIMER event to the gadget after the specified amount of time. Set the time to 0 to disable the timer. This has many uses, for example you might want a clock which updates itself once per second, or a trial version of an application which closes after 10 minutes. |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |